package com.dawn.kingbase.service.user;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dawn.kingbase.model.page.PageWrap;
import com.dawn.kingbase.model.response.ApiResponse;
import com.dawn.kingbase.model.user.SysUser;

import java.util.List;

/**
 * Service定义
 *
 * @author dongxiaoqi
 * @since 2022/12/19 16:33
 */
public interface UserService {

    ApiResponse create(SysUser user);

    Boolean deleteById(String id);

    Boolean deleteByIdInBatch(List<Long> idList);

    Boolean updateUserById(SysUser user);

    ApiResponse findById(String id);

    ApiResponse findUserById(String id);

    IPage findPage(PageWrap<SysUser> pageWrap);
}
